package domain.service.base;

import domain.dao.base.TunnelBaseDao;
import domain.entity.TunnelBase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by bowen on 2017-08-14.
 */
@Service
public class TunnelBaseService {

    @Autowired
    private TunnelBaseDao tunnelBaseDao;

    public List<TunnelBase> getTunnelBaseList() {
        return tunnelBaseDao.getTunnelBaseList();
    }

    public Long getTunnelBaseCount(){
        return tunnelBaseDao.getTunnelBaseCount();
    }
}
